var count = 1;
$(".pwd-icon").click(function() {
	if (count % 2 == 0) {
		$(this).removeClass("glyphicon-eye-close");
		$(this).addClass("glyphicon-eye-open");
		$(".pwd-input").attr("type", "password");
	}
	if (count % 2 != 0) {
		$(this).removeClass("glyphicon-eye-open");
		$(this).addClass("glyphicon-eye-close");
		$(".pwd-input").attr("type", "text");

	}
	count++;
});

